Emergence of Memory in Equilibrium versus Nonequilibrium Systems | Synapse