This phrase means 'What else could it be but this?' You use it to say something is definitely true. It shows you feel very strongly about it.
。。
I think about you all day, every day. If this isn't love, what is it?
、、。
Later on, I thought to myself, 'If that action of his wasn't a heroic deed, what was it?'
に。。
An entire life is depicted in this single painting. If this isn't art, what is it?
、。
This much suffering... if it's not hell, what is it?
、。
This moment, when years of effort have finally borne fruit—if this isn't pure bliss, what is it?