This term originates from New York Criminal Procedure Section 730.30 - Fitness To Proceed; Order Of Examination. Therefore, it commonly implies that someone is crazy.
The arraignment judge is ordering a 730 report to determine whether the defendant is crazy or not.