Pin issue on UNO R3

So turn on the built in pullup resistor on the pin and that will hold it HIGH