two-statevalue

noun
UK /tuː steɪt ˈvæljuː/
US /tu steɪt ˈvælju/

A two-state value is a value that can be one of two things, like yes or no.

The light switch uses a two-state value: on or off.


OTHER MEANINGS

2. In computing, a variable that can hold exactly two possible values, often 0 and 1.

The program stores the answer as a two-state value, either 0 or 1.

3. In logic, a proposition that is either true or false, with no middle ground.

The statement 'it is raining' is a two-state value: true or false.

4. A setting or switch that has only two positions, such as enabled or disabled.

The privacy setting is a two-state value: allowed or blocked.