Ferroelectric‐Switchable Single Photodetector Implementing Complex Optoelectronic Logics | Synapse