As with the analog input, a special block is needed for the digital input.
The Target input, digital network component is found in the Target Inputs and Outputs library.
Connect it to a bus for task mapping purposes.
Right-click the digital input block and select Open Sensors From to open the sensor parameters, and set the values as shown.