The 36-year-old was having delusions about aliens and needing to ‘save the children’, the court was told.