Ferroelastic switching in a layered-perovskite thin film | Synapse