Skip to content

NAND

Overview

The NAND node (negated AND) is a logical gate that returns true if at least one of its inputs is false. It is used to detect situations where a condition is not universally met.

Use NAND when:

  • Triggering an action when any of several prerequisites is missing.
  • Implementing logic where the signal is active only if not all inputs are high.

💡 Tip

This node performs the same operation as an AND node followed by a NOT node. Using a single NAND node is more efficient for flow organization.

Inputs

NameTypeDescription
input_1..input_NboolDynamic boolean input ports to be evaluated.

⚠️ Warning

All configured input ports must be connected for the node to function correctly. If an input is missing, the node will not produce an output.

Outputs

NameTypeDescription
outputboolReturns true if at least one input is false; returns false if all inputs are true.

Parameters

ParameterDefaultValid valuesTunable
Number of inputs2The whole number (integer) >= 2
Ignore Nothing values as inputsfalsebool
Result when no inputs have valuesfalsebool

Number of inputs

Defines how many boolean input ports the node will provide for comparison.

Ignore Nothing values as inputs

  • true: Any Nothing value type inputs are ignored.
  • false: If any input is a Nothing value type, the node output is Nothing.

Result when no inputs have values

  • true: When all inputs are Nothing value type, the output is true.
  • false: When all inputs are Nothing value type, the output is false.

Example

Readiness check

A system should signal an alert if it is not ready. Readiness depends on all parts (A, B, C in our example) being 'ready'.

Configuration:

  • Number of inputs: 3
  • Ignore Nothing values as inputs: false
  • Result when no inputs have values: false

Result: If component A and B are true but component C is false, the NAND output is true, signifying the system is not ready.

Reference:

  • AND — returns true only if all inputs are 'true'
  • NOR — returns true only if all inputs are 'false'
  • NOT — inverts boolean values
  • Boolean Trigger — blocks or passes data based on an input value (trigger)