Exactly solvable phase transition in a cavity-coupled one-dimensional Ising chain | Synapse