Man admitted he was associated with a foreign terrorist organization, tried to break into ATM at request of group members.