Arduino Nano - A6/A7 internal pull-up resistors

A6 and A7 are only inputs available to the mux in front of the ADC. There is no digital hardware behind the pins.

Since the pull up is part of the digital latch, those two pins dont have pull ups (nor do they work as digital inputs.)

Not that it is affecting your code, keep in mind that pinMode() has no effect on analog pins.