Foreign investors?

Hi I’m a RE investor from Canada and I’m currently residing in new york (since DEC) and I wanted to know how can I start investing in NY–I was told I needed to form some sort of a company in order to invest otherwise its impossible for a Foreigner invest in USA-- . Could someone go in detail?I basically want to wholesale a few properties. Thank you

ummm anyone?..