---
title: "XOR and XNOR"
---

> Documentation Index
> Fetch the complete documentation index at: https://wiki.wrightkit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# XOR and XNOR

Don't waste your time with nested AND, OR, NOT.
You can do it indirectly with <a href="/values/compare/">comparison</a>.

|||
| -------- | -------- |
| XOR | `A != B` |
| XNOR | `A == B` |

Source: https://wiki.wrightkit.dev/tutorials/xor-and-xnor/index.mdx
