It's the second time the laws have been invoked since they were passed by NSW Parliament in April.
Strike Force Raptor officers went to a house in Pemulwuy, in southwest Sydney, about 6.40pm AEST on Tuesday.
Two men previously warned for consorting were found to be together at the house, police said on Wednesday.
The men, aged 21 and 31, are the second group to be charged with consorting after two other alleged high-ranking Nomads were charged last week.
Those men, aged 30 and 31, were also found in a Pemulwuy house.
All four are due to face Downing Centre Local Court on June 27.
The legislation amended the Crimes Act to make it an offence to habitually consort with people who have been convicted of an indictable offence.
The new legislation is being used by officers as a strategy to combat bikie gang-related crime, police say.