LEGO 【MINDSTORMS】EV3
Logic Operations Block
Logic Operations Block - Overview -
The Logic Operations block does a Logic operation on its inputs, and outputs the result.
A Logic operation takes inputs that are True or False, and produces a True/False output.
The Logic operations available are AND, OR, XOR, and NOT.
Choose the Logic operation you want to use by selecting a mode with the Mode Selector.
The block will calculate the Result based on the Inputs, as shown in this table.