Sources say Tila was in and out of consciousness in the house ... and officials decided she needed psychiatric help, stat.

Tila was released ... but the drama didn't end there. Last night, Tila's manager had a sneaking suspicion something was terribly wrong, so she called 911.

Cops went to Tila's home to do a welfare check, but Tila refused to open the door. Tila then called 911 to find out why officers were at her home ... and explained she couldn't answer the door because she was in a wheelchair.

Cops eventually left the home -- and we're told Tila is currently resting.