2 Bools
Two toggles bundled into a list
- bool_list
Two toggles in, one boolean list out. Labeled 2 Bools in the menu, this bundles a pair of true/false switches into a single BOOLEAN_LIST output - the small building block for feeding several boolean decisions into one node that expects them as a list rather than as separate wires.
Where the plain 1 Bool hands you a single value, this one packs two into a list, and that difference is the whole point. Some nodes - including others in the Mira pack - read a list of booleans and act on each element in turn. Rather than run two separate wires and hope the node accepts them, you compose the list here and pass one clean connection.
How it works
No logic, just packing. You set two toggles; the node collects them into an ordered BOOLEAN_LIST - element 0 is bool_1, element 1 is bool_2. That's it. It's a source/constructor node, the two-wide member of the Mira boolean family that runs 1 Bool → 2 Bools → 6 Bools. The list ordering is preserved, so whatever consumes it can index the switches predictably.
The inputs and outputs
- bool_1 - first toggle,
falseby default. - bool_2 - second toggle,
falseby default. - bool_list (output) - the two values as a
BOOLEAN_LIST, in order.
Wire the output into any node that takes a boolean list. In the Mira world that's typically a list interpreter or a multi-switch that reads each element; more generally, any consumer expecting BOOLEAN_LIST.
Installing it
Install the pack. ComfyUI Manager: Manager -> Custom Nodes Manager, search ComfyUI_Mira, Install, restart. Or clone:
cd ComfyUI/custom_nodes
git clone https://github.com/mirabarukaso/ComfyUI_Mira.git
Restart, and if you get a load error run pip install -r requirements.txt inside the folder before restarting. No downloads.
Common issues
The one thing that catches people is the type. This outputs a BOOLEAN_LIST, not a plain BOOLEAN - you can't drop it straight into an ordinary boolean toggle input and expect it to work. If the node you're feeding wants a single boolean, use 1 Bool instead, or index the list first. Match the socket types and it just works.
Order matters too: bool_1 is always element 0. If the downstream node's behavior seems flipped, check that you've assigned the two toggles to the positions that node expects, not swapped.
Beyond that, it's a constant constructor with nothing to break. It belongs to ComfyUI_Mira, mirabarukaso's personal grab-bag of quality-of-life nodes (the same dev behind the WAI Character Select app). If two switches isn't enough and you need a fuller set - six regional toggles, say - the same pack's 6 Bools does the identical job at wider capacity.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| bool_1 | BOOLEAN | false | — |
| bool_2 | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| bool_list | BOOLEAN_LIST | — |