A U.S. Air National Guardsman accused of leaking military secrets and keeping an arsenal of weapons in his bedroom will appear in federal court on Thursday, where federal prosecutors are expected to argue he should remain in custody because he poses a national security risk.