My Arduino seems to be stuck inside of an if statement??

PaulS you are getting worked up and making yourself a fool for arguing something you do not understand.

I do understand that there is not an Analog connected to the pin. I have been making a living writing, and maintaining, and debugging, computer programs for 32 years. I KNOW the difference between maintainable code and code that works. OP has neither.

If one wants to come to the forum and ask for help, one should be prepared to take suggestions seriously. If not, one should not keep asking what is wrong with code that is hard to read, has duplicate variables of the same name, has no functions. is poorly indented, etc.