Issue 13382 - [e2ir] compare string to int - leads to ICE in e2ir.c 1902

https://issues.dlang.org/show_bug.cgi?id=13382
I added a helper function `isBinArrayOp` and use it here.