Well, that formula was just an conceptual example. To get it in the data table you can manually add a new nominal column "Zone" and chose "Formula" under "Column Properties" enter your code (only the part to the right of the equal sign).
Remember that your "X" and "Y" must refer to other columns and if you paste your formula you must use :X and :Y, otherwise JMP may think they're parameters rather than columns. Alternatively you can use the formula editor but for this quite complicated formula it is easier to type it in a script window and copy and paste to the column formula.
You may also of course do it all by scripting, i-e create a column and use the "For each Row" command to fill the column with your zone labels.