Police said the man, who spoke Arabic and German, resisted and had to be handcuffed. Local media identified the victims as a rabbi and a well-known Jewish community member who were leaving a meeting with city officials.
The suspect, whose name wasn't given in line with privacy laws, was released while the investigation proceeds.