The following code does not create a wrapfigure within the thm environment. Is that because the latter is a list?
\documentclass{book}
\usepackage{amsthm}
\usepackage{wrapfig}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}
\begin{document}
\begin{thm}
\begin{wrapfigure}[7]{l}{2cm}
\rule{2cm}{2cm}
\end{wrapfigure}%
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\end{thm}
\end{document}
