Man to be held in mental facility for break-in