XOR is a logical operation that stands for Exclusive OR. XOR has many uses in programming, but it's also useful in spreadsheet apps such as Google Sheets. The XOR function in Google Sheets returns either TRUE or FALSE, depending on the logical operation.