Pullup resistor on pin 19 -> digital input 01

Hello, I have one XBee that reads digital sensor data, and sends it to the receiver, and a 2nd xbee that directly (no serial involved) outputs this data.
Reading (remote) and output (receiver) is done on pin 19, digital input 01 (output on the receiver).
The problem is: I always read high level, even if the sensor is not connected on the transmitter. I only read low level if the sensor is connected and outputs low value, but with the sensor unplugged I read high, that is not ok for me.
Maybe turning pullup resistor on on that pin could help?
What’s the AT command for pin 19?
Thanks so much.