This debug command prints information to the console regarding the neighbour status of the country with the specified tag and the country that you are playing as.
test_neighbour [country tag]
|Country Tag||The country tag of the country that you wish to find out the neighbor status of (whether or not the country you are playing as is a neighbor).|
Search Our Database of 304 EU4 Console Commands
This console command would tell you whether or not your country is a neighbour with Israel (country tag ISR).