Bool Binary OR JK๐
Boolean OR โ 'either path is active' as a single wire
- BOOLEAN
Some gates are "both," some are "either." Bool Binary OR JK is the either: two boolean inputs, one output that's true when a or b is true. In a graph full of condition nodes and switches, that's the node you reach for when two separate paths should both trigger the same downstream behavior.
Why it exists
JakeUpgrade added dedicated Bool And and Bool OR nodes in v1.8.0, explicitly for grouping workflows - the general boolean-operation node existed but defaulted to OR, which confused people who assumed they were getting AND. The dedicated pair removes the ambiguity: this node does a or b, nothing else, no dropdown to mis-set.
Real usage: you have a "detail pass" that should run when either a face was detected or a manual toggle is flipped. Wire the condition node's boolean into a, the toggle into b, and the output drives your switch. It also composes - OR two results together and AND the outcome with something else, and you've built the control logic for a graph without ever touching Python.
Inputs are a and b (both BOOLEAN), output is BOOLEAN. That's the whole surface. If you need the full set of boolean operations - NAND, XOR, XNOR, equality - that's CM_BoolBinaryOperation over in the same menu; this node deliberately stays dumb.
Installing it
It ships inside ComfyUI-JakeUpgrade, so:
cd ComfyUI/custom_nodes
git clone https://github.com/jakechai/ComfyUI-JakeUpgrade
cd ComfyUI-JakeUpgrade
# Windows standalone: install.bat
# or: python_embeded\python.exe -s -m pip install -r requirements.txt
pip install -r requirements.txt # non-Windows
Or ComfyUI Manager, search "JakeUpgrade", install, restart. Zero dependencies beyond the pack itself and zero downloads.
Gotchas
- OR is inclusive. If you need "exactly one of the two" - an XOR - this node isn't it; use CM_BoolBinaryOperation and pick
Xor. - Computed booleans only. Two static toggles don't need a gate. The node shines when at least one input comes from a condition node or another gate.
- The IPAdapter_plus "conflict" in Manager is this pack's
replacement/folder tripping the checker - a false positive. - ComfyUI-MultiGPU causes CUDA errors with recent ComfyUI; disable it per the README.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| a | BOOLEAN | false | First boolean input |
| b | BOOLEAN | false | Second boolean input |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BOOLEAN | BOOLEAN | โ |