CC3’s expression analyzer supports Boolean operators. If you are not familiar with Boolean logic, the following truth table might help you:
& AND |
| OR |
~ XOR |
0&0 = 0 |
0|0 = 0 |
0~0 = 0 |
0&1 = 0 |
0|1 = 1 |
0~1 = 1 |
1&0 = 0 |
1|0 = 1 |
1~0 = 1 |
1&1 = 1 |
1|1 = 1 |
1~1 = 0 |