Here are a few basic ways to integrate. I will use sine and cosine properties like their expansions. The first step uses integration by parts and a series expansion switching it and the integral by integrating term by term:
$$\mathrm{\int sin\left(\frac1x\right)dx=x\, sin\left(\frac1x\right)+\int\frac{cos\left(\frac1x\right)}{x}dx= x\,sin\left(\frac1x\right)+\int\frac1x\sum_{n=0}^\infty \frac{(-1)^n\left(\frac1x\right)^{2n}}{(2n)!}= x\,sin\left(\frac1x\right)+\sum_{n=0}^\infty \frac{(-1)^n}{(2n)!}\int x^{-2n-1}dx= C+x\,sin\left(\frac1x\right)+\sum_{n=0}^\infty \frac{(-1)^n\left(\frac1x\right)^{2n}}{2n(2n)!}}$$
This matches the main definition given for the Cosine Integral Ci(y). This means we have the special function closed form of:
$$\mathrm{\int sin\left(\frac1x\right)dx=C+ x\,sin\left(\frac1x\right)-Ci\left(\frac1x\right)}$$
There is also a way to use a sine series right away without integration by parts:
$$\mathrm{\int sin\left(\frac1x\right)dx=C+ x\,sin\left(\frac1x\right)-Ci\left(\frac1x\right)=\int\sum_{n=0}^\infty \frac{(-1)^n\left(\frac1x\right)^{2n+1}}{(2n+1)!}dx=C-\sum_{n=0}^\infty \frac{(-1)^n}{2n(2n+1)!x^{2n}}}$$
Here is a beautiful complex plot of the function. Please correct me and give me feedback!