States can commit a person merely because he or she is mentally ill.