Reliability and Performance Analysis of Logic-in-Memory Based Binarized Neural Networks