The FBI says an incendiary device was deployed outside a New York federal building and a person has been taken into custody.