How to set vector as null?

You can decide on a value that would not be realistically used in your game (such as 0,0,-9999) as your null and check if the vector is equal to that with a branch node before going on.