add section on logical functions

Explain various functions that return true/false arrays.