Prosecutors say suspect studied weapons, missile and drone production, and military tactics while preparing to join ISIS in Syria or Africa.