Is there an exmaple of a closed smooth connected manifold $M$ having a structure of $A\_{\infty}$-space (with unit) but $M$ is not homeomorphic to a compact connectd Lie group as space ? 


**Edit:** First, I would like to thank Fernando, Vladimir and Jesper for the excellent answers!
My original motivation was the following question:
Suppose that $\mathcal{A}\_{\infty}$ is a cofibrant replacement of the associative operad $\mathcal{A}$ in the category $\mathsf{Op}$ of topological operads (non-symmetric) and suppose that $X$ is a finite connected $CW$-complex. Is it true that $$Hom\_{\mathsf{Op}}(\mathcal{A}\_{\infty},End(X))\neq \emptyset \Rightarrow Hom\_{\mathsf{Op}}(\mathcal{A},End(X))\neq \emptyset ?$$


Here is a counterexample: Suppose that $M$ is a smooth closed connected manifold with a structure of $\mathcal{A}\_{\infty}$-space (i.e, Loop space) such that $M$ is not homotopy equivalent to a Lie group. By definition $Hom\_{\mathsf{Op}}(\mathcal{A}\_{\infty},End(M))\neq \emptyset$. On another hand if $Hom\_{\mathsf{Op}}(\mathcal{A},End(M))\neq \emptyset$, this will implie that $M$ has at least one structure of topological monoid. By Wallace Theorem any closed manifold with a structure of topological monoid is a Lie group, hence $M$ is a Lie group. Contradiction. 



$A_{\infty}$-structure on closed manifold
Yes:


As has been pointed out, admitting the structure of a connected $A\_\infty$-space is the same thing as being homotopy equivalent to a connected loop space.


The Hilton-Roitberg criminal, mentioned by Vladimir Dotsenko, was the first example of a closed manifold homotopy equivalent to a loop space, but not to a Lie group. The space has the rational homotopy type of the compact Lie group Sp(2).


In fact there exists "rational criminals", i.e., finite loop spaces that are homotopy equivalent to closed smooth manifolds (as always, by the Broto-Kitchloo-Notbohm-Pedersen theorem), but not even rationally homotopy equivalent to a Lie group. However, they only start occurring in rank 66 and onwards.


[See this paper that I wrote with Andersen-Bauer-Pedersen](http://www.math.ku.dk/~jg/papers/loopnotlie.pdf) 


