The Interrupt Flag (I) is bit 2 in the Processor Status Register. When this register is set to 1, interrupts are disabled, otherwise, they're cleared.
The following opcodes affect the interrupt flag.