I would generally advise that you put yes if you have actually been arrested, regardless of the circumstances.  However, you might want to consult someone about your situation in more detail before proceeding.Also, your answer might depend on the type of form that you're filling out.