problem with my if statment

im getting a 0 low all the time monitoring it through serial monitor even though im using a pull up resistor, ive checked the circuit many times