How can I decrease the height of the cone of sight produced by dot product?

how can I limit the height that my AI can see . I need Z axis of the cone to be shorter than X and Y
this is what I have implemented so far.

I used ASINd to calculate the height of sight