The “pull-up” resistor between the input (I1 or I3) and the +5V. The contact wires: one to the input, and the other to GND. With this setup, the input will see +5V when the contact is open, and 0V when closed.
Eureka, it works. 😀 I hate to feel like such a simpleton…