Use Boolean operators in ArcGIS 10

Last Published: April 25, 2020


The Raster Calculator Boolean operators are still available in ArcGIS 10. The Raster Calculator window has changed to list the operators using their symbol values. Below are some examples of the new syntax for these operators.


Refer to the following list of Boolean operations for the Raster Calculator syntax.

& (Boolean And) for the value 1

("raster1" == 1) & ("raster" == 1)

Boolean And (Spatial Analyst)

~ (Boolean Not)

^ (Boolean Xor)

"raster1" ^ "raster2"

Bolean xOr (Spatial Analyst)

| (Boolean Or)

| Raster("Raster")

Bolean Or (Spatial Analyst)

Article ID:000011302

  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic