I lost my mind in San Francisco

Somewhere near cleft sentence I got lost in: