Boolean flag
A Boolean flag, truth bit or truth flag in computer science is a Boolean value represented as one or more bits, which encodes a state variable with two possible values.
Wikipedia contributors, "Boolean flag", Wikipedia, revision 1017037990, retrieved 20 November 2026, source, CC BY-SA 4.0.