1. A system, comprising: a state machine engine comprising a state machine lattice, wherein the state machine lattice comprises: a plurality of blocks each comprising a plurality of rows, each of the rows comprising a plurality of programmable elements, wherein a particular one of the programmable elements is configured to output a signal based on a detection of a condition; and at least one of the rows of a particular one of the blocks further comprising a Boolean logic cell configured to be selectively coupleable to any of the programmable elements in any of the plurality of rows of the particular one of the blocks, wherein the Boolean logic cell is configured to output a result of a logical function.