To go bananas means to become irrational or crazy, and in this sentence she would become irrational if she had to go to jail.
Consider the statement "She couldn't handle jail; she'd lose her mind.". Based on this "She couldn't handle jail; she'd go bananas." a true statement? Yes, no, or I don't know?