# How do I choose between a simple and a mixed effect logistic regression?

I have a list of predictor variables to put in to a logistic regression model. How I know that should I do a simple logistic regression (using glm function in R) or a mixed effect logistic regression (using glmer function in R) analysis?

More information would help us discern the structure of your data. Yet generally speaking you should use glmer if your data are correlated because of its nested structure. For example, you obtained the binary outcome variable:
If your data are obtained from subjects only once, and they are not nested within any grouping/structural variables, you should use glm.