Yes, You can use logistic regressions for 不是配对的样本. Just make sure your dependant variable 'y' is yes or no (1 or 0) on the left side of your equation, and there are no restictions for your predictors (dependant variables) on the right of your logistic model.