---
title: Logic
framework: shadergraph
role: symbol
role_heading: ShaderGraph Node Group
path: shadergraph/logic
---

# Logic

Perform Boolean operations and other logical comparisons on data values.

## Overview

Overview Use Logic nodes to facilitate decision trees and other logic-based choices within your graph. You can perform comparisons for equality or to determine if one value is larger than another. You can also perform logic operations on Boolean values.

## Topics

### Nodes

- [If Greater](shadergraph/logic/if-greater.md)
- [If Greater Or Equal](shadergraph/logic/if-greater-or-equal.md)
- [If Equal](shadergraph/logic/if-equal.md)
- [Switch](shadergraph/logic/switch.md)
- [And (RealityKit)](shadergraph/logic/and-(realitykit).md)
- [Or (RealityKit)](shadergraph/logic/or-(realitykit).md)
- [XOR (RealityKit)](shadergraph/logic/xor-(realitykit).md)
- [Not (RealityKit)](shadergraph/logic/not-(realitykit).md)
- [Select (RealityKit)](shadergraph/logic/select-(realitykit).md)
- [Multiply Add 24 (RealityKit)](shadergraph/realitykit/multiply-add-24-(realitykit).md)
- [Multiply 24 (RealityKit)](shadergraph/realitykit/multiply-24-(realitykit).md)

## See Also

### Node Categories

- [2D-Procedural](shadergraph/2d-procedural.md)
- [2D-Texture](shadergraph/2d-texture.md)
- [3D-Procedural](shadergraph/3d-procedural.md)
- [3D-Texture](shadergraph/3d-texture.md)
- [Adjustment](shadergraph/adjustment.md)
- [Application](shadergraph/application.md)
- [Compositing](shadergraph/compositing.md)
- [Data](shadergraph/data.md)
- [Geometric](shadergraph/geometric.md)
- [Material](shadergraph/material.md)
- [Math](shadergraph/math.md)
- [Organization](shadergraph/organization.md)
- [Procedural](shadergraph/procedural.md)
- [RealityKit](shadergraph/realitykit.md)
- [Surface](shadergraph/surface.md)
