You can use generalized ARMA (GLARMA) models. See, for example, Kedem and Fokianos (2002), Regression Models for Time Series Analysis.