1. A function of two variables that is equal to zero when the variables have different values and equal to one when the variables have the same value.