The state senate has passed a bill that would criminalize elected officials if they support sanctuary policies.