An illegal immigrant from Northern Virginia was arrested blocks from the Capitol while carrying an inoperable MAC-10 automatic weapon and a fake suicide vest provided to him by undercover FBI agents posing as al-Qaeda associates, U.S. officials said.