The lawsuit alleges a lack of reasonable action by the state to provide services has turned jails into ‘de facto mental ...