1. An apparatus, comprising: an array of memory cells; sensing circuitry coupled to the array of memory cells via a sense line, the sensing circuitry including a sense amplifier; and a controller coupled to the array of memory cells and the sensing circuitry, the controller being configured to: perform logical operations using the array of memory cells as an accumulator without transferring data out of the memory array and sensing circuitry, wherein an operand of the logical operations is stored in the accumulator throughout the performance of the logical operations.