# Machine learning Classification model for binary input and output data

I have a large longitudinal dataset with 5 minutes granularity for a period of around 30 months from thousands of households. I want to classify them as binary output (0/1) based on the input which is also a set of binary variables (sensors activated or not- 0/1. I have a training dataset available with the labeled binary output(0/1) with binary inputs.

I want to know which Machine learning model will be best for this type of case where both input and outputs are binary in nature.

Whether Logistic regression is one of the options or not?

Your problem is one of "sequence classification" for which Recurrent Neural Networks (RNN) e.g. Long short-term memory (LSTM) are generally used.