"If" statement and LEDs not working correctly

I am not using one.

I am adding or removing 5v at pin #8

My thought was, if 5v is at pin#8 to the true code