Boolean logic A formal logic system derived from the BOOLEAN ALGEBRA by interpreting its two permissible values 0and 1 as the TRUTH VALUES True and False. It is used in electronics to define the behavior of all the kinds of LOGIC GATE from which computer processors are constructed, and in programming to define operators that work on truth-valued variables.
It’s used to solve the kind of problems you buy a database program to handle: like, “show me the list of men who dance, and who cook or like washing dishes, and who are not married.” (Boolean logic is big on expressions such as and, or, and not.) You use Boolean logic every time you search your database. Boolean logic comes in very handy on a digital computer (which is what you have) because each answer can be a bit that is either on or off, true or false. The computer uses Boolean logic in a great deal of its work.