if you are reading them using low level code e.g. PINC & _BV(0) for analog pin 0 and PIND & _BV(7) for digital pin 7.
PINC & _BV(0) does not read analog input 0 but digital input 14, both are on pin A0. On an UNO all analog inputs (A0-A5) are multiplexed with digital IOs 14-19, so you can use them both ways. If you have a clone that uses an SMD version of the ATmega328, it may have the A6 and A7, analog input pins that are not multiplexed with GPIOs (digital IOs).