Whenever any duty is enjoined by law upon any public officer or other person holding any public trust or employment, their wilful neglect to perform such duty, except where otherwise specially provided for, shall be a misdemeanor.
RCW 42.20.100
Official misconduct by public servant: RCW 9A.80.010.