The Logical.Switch switches, depending on the logical connector inPort2 (the middle connector) between the two possible input signals inPort1 (upper connector) and inPort3 (lower connector).
If inPort2 is true, the outPort is set equal to inPort1, else it is set equal to inPort3.