Light‐Triggered and Polarity‐Switchable Homojunctions for Optoelectronic Logic Devices | Synapse