Boolean logic is a form of algebra in which the variables have only two values 0 and 1. 1 is true and 0 is false. The boolean logic is applied by considering one statement is either true or false. There is no other value. Then another statement is formed by considering it to be true or false. These two statements are combined using the fundamental operators AND, OR or NOT.