Arduino nano input of analog pin is always 1

It is not nitpicking to say that HIGH is not a boolean. A boolean is a data type, not just a value of 0 or 1

Whilst I agree that the use of analogRead() to test for HIGH makes no sense, what is being tested is not a boolean