In your first post you’ve posted the predictions as zeros and ones, so I assumed you’ve already applied a threshold. 
If that’s not the case, you should use a threshold to get the predictions.
The simplest case would be 0. for logits and 0.5 for probabilities (after sigmoid).
The threshold can then be tuned using the ROC etc.