The Department of Homeland Security will be moving its headquarters to a former insane asylum .