Probably the easiest is asking for the medical records for that period from the hospital. You can usually get them for free if it's a limited request, but you'll probably have to go in person.
The second option is going to the clerk at the courthouse that serves that hospital and have them search for a committal record. They might charge you for a copy of the record, but it's usually cheap.
Yeah, whatever facility you believe you were committed to