XIAO Internal Pull-up Resistors

I think that the pull-up resistor is effective only when digitalReading.
I changed to
analogRead (i) —> digitalRead (i)
and checked the input pins on a digital oscilloscope.