What to look for. Boolean operators form the basis of mathematical sets and database logic. 1  They connect your seach words together to either narrow or broaden your set of results. 2  The three basic boolean operators are: AND, OR, and NOT.