pH-dependent water permeability switching and its memory in 1T' MoS
2 membranes
1T' MoS$_2$ membranes exhibit pH-dependent hysteretic water and ion permeation, switching by orders of magnitude. This memory effect, absent in other MoS$_2$ phases, arises from surface charge and exchangeable ions. The work demonstrates potential in autonomous wound infection monitoring and pH-dependent nanofiltration, advancing neuromorphic and smart membrane applications.