How to get circular points from array Circle 2d

Now I have 2 arrays from -20 to 20. And I want to filter it to get result in shape of circle.