The present research explores the Boger fluid flow past a stretching cylinder with torsional motion in the presence of the magnetic field. It is assumed that the cylinder rotates continuously around its axis and that the starting point's position along the axis correlates with the cylinder wall's expansion rate. Additionally, the consequence of active and passive control of nanoparticles, activation energy, thermophoresis, and Brownian motion effects are considered. Similarity variables transform the governing partial differential equations into non-dimensional ordinary differential equations (ODEs). Furthermore, the Vieta–Lucas polynomials-based collocation method (V-LPBCM) is employed to solve the resulting ODEs. The V-LPBCM outcomes of Nusselt and Sherwood numbers are compared with Runge–Kutta Fehlberg's fourth-fifth-order scheme for validation purposes. The impact of various dimensionless parameters on the different profiles is depicted in the graphical representation. The increase in values of the magnetic parameter, the ratio of relaxation time, and the Reynolds number decline the velocity profile. The velocity profile increases as the values of the solvent fraction parameter rise. The thermal profile increases as the heat source/sink, and thermophoretic parameters rise. The increase in values of activation energy parameter increases the thermal profile.