---
schema_version: "1"
id: 423d5c412ca871b5830eb4049018221d0c27b59412d4b587649fa111cb033fce
title: LogicalOperators
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/logicaloperators.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/logicaloperators.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e7071e60168f8fdc30282bd14c5d8919cd80d7ef8707a86640deee1da06137af
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# LogicalOperators

An object that specifies operators to join simple or complex filter parts.

| Name  | Data Type   | Description                                                                                                                                                                 |
| ----- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AND` | Enumeration | AND logical operator. When used in a ComplexFilterPart, AND indicates that the LeftCondition and the RightCondition must both evaluate to true for a record to be selected. |
| `OR`  | Enumeration | Specifies to use this value or another specified value in a search.                                                                                                         |
