> For the complete documentation index, see [llms.txt](https://inspinia-technology.gitbook.io/skyplatform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inspinia-technology.gitbook.io/skyplatform/skyplatform-technical-user-documentation/plugins/logic.md).

# LOGIC

<table><thead><tr><th width="128">Plugin</th><th width="149">Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="/files/cSCWHODQOkGf1oNQPvso" alt="" data-size="original"></td><td><strong>Equal</strong></td><td><strong>The</strong> <strong>Equal</strong> outputs 1 if the two input values are equal; otherwise, it outputs 0. (If calculation is activated, it performs the calculation when a 1 is received at the input.)</td></tr><tr><td><img src="/files/uoPFqg87MxDE4PZLp4Y1" alt="" data-size="original"></td><td><strong>Not Equal</strong></td><td><strong>The Not Equal</strong> outputs 1 if the two input values are not equal, and 0 if they are equal.</td></tr><tr><td><img src="/files/FWv9ZLuuvbsGoTW5p7Hr" alt="" data-size="original"></td><td><strong>Greater Than</strong></td><td><strong>The Greater Than</strong> outputs 1 if the value from input 1 is greater than the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="/files/JukIiyxDEjybdMuDycCF" alt="" data-size="original"></td><td><strong>Greater Than Equal</strong></td><td> <strong>The Greater Than Equal</strong> outputs 1 if the value from input 1 is greater than or equal to the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="/files/6J26mJkWXr9Lwici0mD2" alt="" data-size="original"></td><td><strong>Less Than</strong></td><td><strong>The Less Than</strong> outputs 1 if the value from input 1 is less than the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="/files/LrsTNxafN8Zd2TPM00xM" alt="" data-size="original"></td><td><strong>Less Than Equal</strong></td><td><strong>The Less Than Equal</strong> outputs 1 if the value from input 1 is less than or equal to the value from input 2; otherwise, it outputs 0.</td></tr><tr><td><img src="/files/wXFxQtm5lTuDlLnoSTyq" alt="" data-size="original"></td><td><strong>IsNull</strong></td><td><strong>The IsNull</strong> outputs 1 if the input is empty (contains no information), and 0 if there is information present.</td></tr><tr><td><img src="/files/Rv0wZgJaRUsFsFefpV4o" alt="" data-size="original"></td><td><strong>Demultiplexer</strong></td><td><strong>The Demultiplexer</strong> is a block used to channel multiple inputs into a single output.</td></tr><tr><td><img src="/files/NyoZWnwe77nDpIK47HC2" alt="" data-size="original"></td><td><strong>And</strong></td><td><strong>The And</strong> operates based on logical AND logic: it outputs 1 only when both inputs are 1. The possible combinations are as follows: 0-0=0, 0-1=0, 1-0=0, and 1-1=1.</td></tr><tr><td><img src="/files/OqkWK3vArRnEPjBsi820" alt="" data-size="original"></td><td><strong>Or</strong></td><td><strong>The Or</strong> operates based on logical OR logic: it outputs 1 if at least one of the inputs is 1. The possible combinations are as follows: 0-0=0, 0-1=1, 1-0=1, and 1-1=1.</td></tr><tr><td><img src="/files/7yjx3NfKZHepV4BTW0zi" alt="" data-size="original"></td><td><strong>XOr</strong></td><td><strong>The XOr</strong> operates based on Exclusive OR (XOR) logic: it outputs 1 if exactly one of the inputs is 1, but outputs 0 if both inputs are the same. The possible combinations are as follows: 0-0=0, 0-1=1, 1-0=1, and 1-1=0.</td></tr><tr><td><img src="/files/URaoKOftrbsoi6iAcDCb" alt="" data-size="original"></td><td><strong>Not</strong></td><td><strong>The Not</strong> inverts the input values: it outputs 0 if the input is 1, and outputs 1 if the input is 0.</td></tr><tr><td><img src="/files/TvPZDATB2aMBJZ9aJ2to" alt="" data-size="original"></td><td><strong>If Condition</strong></td><td><strong>The</strong> <strong>If Condition</strong> operates similarly to a comparator, allowing you to assign specific input and output values to the blocks. For example, if the incoming information equals "x," the output can be set to 10.</td></tr><tr><td><img src="/files/1KfU3OKsoHX97hqwONiG" alt="" data-size="original"></td><td><strong>If Else Condition</strong></td><td><strong>The If Else Condition</strong> allows for conditional logic based on specified criteria. For example, if the input time is less than 19:00, the output will be "Good Day"; otherwise, it will output "Good Evening."</td></tr><tr><td><img src="/files/UmqF3drdvGiny9oQCn0r" alt="" data-size="original"></td><td><strong>Router</strong></td><td><strong>The Router</strong> directs the incoming information to the output without modification.</td></tr><tr><td><img src="/files/i16oUBVsgnQj8KOL5lEz" alt="" data-size="original"></td><td><strong>Multiplexer</strong></td><td><strong>The Multiplexer</strong> is a block that combines multiple inputs into a single output, allowing the selection of one input to be routed to the output.</td></tr><tr><td><img src="/files/bAersWfVkLEe9Ozr7xXN" alt="" data-size="original"></td><td><strong>Toggle</strong></td><td><strong>The Toggle</strong> is a block that alternates the input signal to the output as 1-0-1-0, sequentially.</td></tr></tbody></table>
