For questions related to Boolean function (whose arguments and result assume values from a two-element set).
In mathematics, a Boolean function is a function whose arguments and result assume values from a two-element set (usually {$\text{true}, \text{false}$}, {$0,1$} or {$-1,1$}). Alternative names are switching function, used especially in older computer science literature, and truth function (or logical function), used in logic. Boolean functions are the subject of Boolean algebra and switching theory.