Boolean NOT
The one-node inverter that turns 'if' into 'unless'
- BOOLEAN
You have a boolean that means one thing, and a switch that needs the opposite. Maybe it's "face fix enabled" feeding a node that should skip when enabled. Maybe your checkbox says "use hires" but your bypass node wants "don't bypass" to be true. Boolean NOT is the one-node fix: true goes in, false comes out, and your "if" becomes an "unless" without rewiring anything upstream.
What it is
It's exactly the inverter you'd expect from the name - the classic logic NOT gate, done as a single clean node. One required boolean input, one boolean output that's the exact negation of it. No settings, no modes, no surprises. The whole node is one wire, flipped.
That sounds almost too trivial to install a pack for, and honestly it is - but it's the kind of triviality that rescues a workflow the moment you realize your logic is inverted and you'd rather add a single node than re-plumb a dozen wires. Most big utility packs ship one; Nifty Nodes just makes sure you have it in a pack that's built on the current v3 API and works with the Nodes 2.0 frontend.
Where it actually shows up
The classic spot: you've got a bypass boolean on a bypass node or a switch that selects "on_true when True," but the condition you already computed means the opposite of what that input expects. Slap a NOT in the middle and the polarity aligns.
It also composes cleanly with the pack's other gates. Wire a NOT after a Boolean AND or OR Any and you get NAND/NOR logic for free - "true unless all of these are true" is a surprisingly common sentiment in video workflows that want to skip the expensive pass only when every optional stage is on.
The output is a standard BOOLEAN socket, so it plugs into anything boolean-taking: switch selectors, bypass toggles, enabled flags, or straight into another gate.
Install
Part of Nifty Nodes for ComfyUI. Manager: search "Nifty Nodes for ComfyUI" → Install → restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/Stibo/comfyui-nifty-nodes
Restart ComfyUI. Pure Python, no models, no dependencies beyond the pack itself. MIT-licensed and new-ish (v2.1.0, mid-2026), so update it if a workflow says the class is missing.
Gotchas
The only real gotcha is expecting this to stop execution. Like every boolean node in this pack, NOT just flips a value - it doesn't cancel the graph. If you want "when this is true, don't run that branch," you still need the inverted boolean feeding a lazy switch or a bypass node. The node flips the truth; the lazy node is what actually saves you the compute.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| boolean | BOOLEAN | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BOOLEAN | BOOLEAN | — |