1. A method for operating a memory in logic cell, comprising: programming the floating gate of a structure that also includes a control gate and a back gate to one of a first state and a second state; wherein a memory in logic cell performs a first logical operation when the floating gate is programmed to the first state; and wherein the memory in logic cell performs a second logical operation when the floating gate is programmed to the second state.