The paper addresses a certain nonlocal plasticity model, where the consistency condition may be rewritten from a Fredholm equation of the second kind into a second order differential equation. Hereby, a case of equivalence between a nonlocal model and a gradient model will be found.