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