A ban on New Zealanders wearing or displaying symbols of gang affiliation in public has taken effect, with police officers arresting a man for breaking the law three minutes later.