Thanks for the valuable comments!
I found this explanation:
But can you clarify for me the difference between the input pin and the passive pin?
In the case of connecting to a button (and resistor) as in my example with the “KEY” pin, it is also used as an input pin to read voltage according to what I understand, so what is the difference?
Is this input only when logical 1/0s are entered?