Logic Boolean Primitive
A true/false source for ComfyUI logic
Logic Boolean Primitive is a switch you flip: true or false, and it outputs that as a native boolean. That's the whole node. It exists so you have a clean, connectable on/off source to drive the switch and logic nodes in your graph - flip it, and everything wired to it changes path.
The WAS README is precise about why this one exists separately from the older Logic Boolean node: this is a True/False boolean input, to use with native boolean nodes. The original Logic Boolean outputs a 1 or 0, which suited WAS's own logic chain. As ComfyUI grew real boolean types, WAS added this primitive version that speaks the native BOOLEAN type so it plugs straight into modern nodes without a conversion in between.
How it works
You set it to true or false on the node face, and it emits that value as a boolean. Downstream, an input switch reads the boolean to decide which of its two inputs to pass through; a logic gate (AND/OR/NOT) combines it with others. It's the source of a decision - the manual toggle at the top of a conditional path.
Use it when you want a hand-controlled switch in your workflow: a "high-res pass on/off" toggle, an "apply this filter or skip it" flag, an A/B selector you flip between runs. One boolean, fanned out to everything that should respond to it.
The inputs and outputs that matter
There's the true/false value you set, and the boolean it outputs. Wire that output into any node that takes a boolean - WAS's input switches, the logic gates, or native ComfyUI boolean inputs. Nothing to tune; the value is the configuration.
How to install it
Part of WAS Node Suite. Install once via ComfyUI Manager (search WAS Node Suite, install, restart) or clone it:
cd ComfyUI/custom_nodes
git clone https://github.com/WASasquatch/was-node-suite-comfyui
pip install -r was-node-suite-comfyui/requirements.txt
then restart. Windows portable users should run the pip step with python_embeded\python.exe -s -m pip install -r ... (or install.bat). No models or heavy deps - it's a toggle.
Common issues & troubleshooting
Boolean vs 1/0 confusion. This is the exact thing this node was made to fix. If a target node wants a native BOOLEAN, use Logic Boolean Primitive (this one). If a node in the WAS chain wants a 1/0 number, use the older Logic Boolean instead. Wiring the wrong one in produces a type mismatch - match the primitive to what the receiving node actually expects.
The switch didn't flip. A boolean source does nothing on its own - it needs a switch or logic node reading it. If flipping the toggle changes nothing, check that the boolean is actually wired into a node that acts on it, not left dangling.
Newer graphs may prefer native primitives. ComfyUI now ships its own boolean primitive, and packs like rgthree add nicer toggle UX. WAS's is perfectly functional, but if you're building fresh and already have those loaded, you might not need to pull in all of WAS just for a true/false switch.
The suite won't import. WAS Node Suite is a large pack, unmaintained since late 2023, and the recurring failure is an "Import Failed" after a ComfyUI update, from a dependency version clash (opencv is the usual suspect). Reinstall the requirements against your ComfyUI Python and restart. The logic nodes are trivial and reliable; it's the suite install that occasionally breaks.
Inputs (0)
No inputs
Outputs (0)
No outputs