A sitting Samajwadi Party legislator from Uttar Pradesh has been arrested in a raid on a dance bar here, police said on Tuesday.