As you can see from examples in:
  
      

      TensorFlow
  

  
    

tf.keras.losses.BinaryCrossentropy  |  TensorFlow Core v2.7.0 5

  Computes the cross-entropy loss between true labels and predicted labels.


  

  
    
    
  

  


When you use the non default from_logits=True you prediction are out of the 0-1 range.