Return key always being pressed

Could you also tell me how to make analogue pins to be the same as the digital pins?

Just set their pinMode() to INPUT or INPUT_PULLUP. Job done.

How are your inputs wired ?