Understanding microcontroller ADC input pins (atmega328)
See "Table 18-1. Port Pin Configurations" of Atmega328p complete datasheet. It states clearly that when DDR and PORT registers are zero than the pin is high-impedance.